<?php
require_once 'config/config.php';

$sql = "SELECT texte FROM texte_qui_somme_nous WHERE id = 1";
$req = mysql_query($sql) or die(mysql_error());
$res = mysql_fetch_array($req);

foreach ($res as $key => $val)
    $res[$key] = stripslashes($val);

$texte = $res['texte'];

$page_index = 2;
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta NAME="ROBOTS" CONTENT="INDEX,FOLLOW" />
        <meta name="keywords" content="L'essentiel du sup" />
        <meta NAME="DESCRIPTION" CONTENT="L'essentiel du sup" />
        <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
        <title>L'essentiel du sup</title>
        <link rel="stylesheet" href="js/validation/css/validationEngine.jquery.css" type="text/css"/>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
        <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="css/ie.css" />
        <![endif]-->
        <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="js/validation/js/languages/jquery.validationEngine-fr.js"></script>
        <script type="text/javascript" src="js/validation/js/jquery.validationEngine.js"></script>
    </head>
    <body>
        <div class="main">
            <?php include './inc/header.php'; ?>
            <div class="main-content">
                <div class="main-bloc-1">
                    <div class="left-1">
                        <div class="logo-container">
                            <img src="images/logo.png" alt="L'essentiel du sup" />
                        </div>
                    </div>
                    <div class="right-1">
                        <div class="righ-1-content">
                            <div class="bloc-partage">
                                <!-- AddThis Button BEGIN -->
                                <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
                                    <a class="addthis_button_preferred_1"></a>
                                    <a class="addthis_button_preferred_2"></a>
                                    <a class="addthis_button_preferred_3"></a>
                                    <a class="addthis_button_preferred_4"></a>
                                    <a class="addthis_button_compact"></a>
                                    <a class="addthis_counter addthis_bubble_style"></a>
                                </div>
                                <script type="text/javascript">var addthis_config = {"data_track_addressbar": false};</script>
                                <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4fe0e68e70742350"></script>
                                <!-- AddThis Button END -->
                            </div>
                        </div>
                    </div>
                </div>
                <div class="main-bloc-full">
                    <div class="paragraph">
                        <h2>Qui sommes nous ?</h2>
                        <?php echo $texte ?>
                    </div>
                </div>
            </div>
            <?php include './inc/footer.php'; ?>
        </div>
    </body>
</html>